package com.yaowk.platform.routes;

import com.jfinal.config.Routes;
import com.yaowk.platform.controller.*;

/**
 * Created by yaowk on 2017/4/16.
 */
public class PlatformRoutes extends Routes {
    @Override
    public void config() {
        add("/api/platform", PlatformController.class, "");
        add("/api/platform/auditConfig", AuditConfigController.class);
        add("/api/platform/qualification", QualificationController.class);
        add("/api/platform/trade", TradeController.class);
        add("/api/platform/admin", AdminController.class);
        add("/api/platform/adv", AdvertisingController.class);
        add("/api/platform/company", CompanyController.class);
        add("/api/platform/count", CountController.class);
        add("/api/platform/log", LogController.class);
        add("/api/platform/user", UserController.class);
    }
}
